﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static WindowsFormsApp4.Class1;
using System.Data.SqlClient;

namespace WindowsFormsApp5
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (this.wupin.Text.Trim().Equals(string.Empty)|| this.shuliang.Text.Trim().Equals(string.Empty)||
               this.date.Text.Trim().Equals(string.Empty)|| this.date.Text.Trim().Equals(string.Empty)|| this.yongtu.Text.Trim().Equals(string.Empty))
            {
                DialogResult result = MessageBox.Show("支取物品为空", "提示框", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);
                return;
            }
            
        }

        private void button2_Click(object sender, EventArgs e)
        {
            
        }
    }
}
